package com.ruoyi.zsyh.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商城活动商品对象 zsyh_platform_sellpartsspecial
 * 
 * @author yuexl
 * @date 2025-04-27
 */
public class ZsyhPlatformSellpartsspecial extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 活动id */
    private String id;

    /** 产品id */
    @Excel(name = "产品id")
    private String partsId;

    /** 型号id */
    @Excel(name = "型号id")
    private String attributeId;

    /** 活动 价格 */
    @Excel(name = "活动 价格")
    private BigDecimal specialPrice;

    /** 特价主图url */
    @Excel(name = "特价主图url")
    private String specialImg;

    /** 详情图片 多个逗号隔开 */
    @Excel(name = "详情图片 多个逗号隔开")
    private String specialContent;

    /** 状态 1上架 0下架 */
    @Excel(name = "状态 1上架 0下架")
    private String specialState;

    /** 分类 1普通活动 2推广活动 */
    @Excel(name = "分类 1普通活动 2推广活动")
    private String specialType;

    private String partsName;

    private String attributeName;

    private String attributeLogo;

    private BigDecimal attributeRetailPrice;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setPartsId(String partsId) 
    {
        this.partsId = partsId;
    }

    public String getPartsId() 
    {
        return partsId;
    }
    public void setAttributeId(String attributeId) 
    {
        this.attributeId = attributeId;
    }

    public String getAttributeId() 
    {
        return attributeId;
    }
    public void setSpecialPrice(BigDecimal specialPrice) 
    {
        this.specialPrice = specialPrice;
    }

    public BigDecimal getSpecialPrice() 
    {
        return specialPrice;
    }
    public void setSpecialImg(String specialImg) 
    {
        this.specialImg = specialImg;
    }

    public String getSpecialImg() 
    {
        return specialImg;
    }
    public void setSpecialContent(String specialContent) 
    {
        this.specialContent = specialContent;
    }

    public String getSpecialContent() 
    {
        return specialContent;
    }
    public void setSpecialState(String specialState) 
    {
        this.specialState = specialState;
    }

    public String getSpecialState() 
    {
        return specialState;
    }
    public void setSpecialType(String specialType) 
    {
        this.specialType = specialType;
    }

    public String getSpecialType() 
    {
        return specialType;
    }

    public String getPartsName() {
        return partsName;
    }

    public void setPartsName(String partsName) {
        this.partsName = partsName;
    }

    public String getAttributeName() {
        return attributeName;
    }

    public void setAttributeName(String attributeName) {
        this.attributeName = attributeName;
    }

    public String getAttributeLogo() {
        return attributeLogo;
    }

    public void setAttributeLogo(String attributeLogo) {
        this.attributeLogo = attributeLogo;
    }

    public BigDecimal getAttributeRetailPrice() {
        return attributeRetailPrice;
    }

    public void setAttributeRetailPrice(BigDecimal attributeRetailPrice) {
        this.attributeRetailPrice = attributeRetailPrice;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("partsId", getPartsId())
            .append("attributeId", getAttributeId())
            .append("specialPrice", getSpecialPrice())
            .append("specialImg", getSpecialImg())
            .append("specialContent", getSpecialContent())
            .append("specialState", getSpecialState())
            .append("specialType", getSpecialType())
            .toString();
    }


}
